package com.recharge.api.service;

import com.alibaba.fastjson.JSONArray;
import com.recharge.api.dto.request.CallBackRequest;
import com.recharge.api.dto.request.TransactionRequest;
import com.recharge.api.dto.response.*;

import java.util.List;

public interface ApiService {
    TransactionResponse processTransaction(TransactionRequest request);
    BalanceResponse getBalance(String userId, String token);
    StatusResponse getTransactionStatus(String userId, String token, String transId);
    JSONArray getAllOperators();

    String callBackResponse(CallBackRequest callBackRequest);
}